cmake_minimum_required(VERSION 2.8.10)
project(LeetCode_CPP)

set(CXX_FLAGS
        -g
        -std=c++11)

string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CXX_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "-O0")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG")

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

add_subdirectory(poj)
add_subdirectory(hdu)
add_subdirectory(leetcode)
#add_subdirectory(nowcoder)
add_subdirectory(base)
